from rest_framework import serializers
from .models import Script
class ScriptModelSerializer(serializers.ModelSerializer):
    """轮播广告序列化器"""
    #字段声明


    #模型序列化字段声明

    class Meta:
        model = Script
        fields = ["name", "created_time"]

    #验证方法


    #存储数据方法